Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(RouteList): implement infinite scrolling #117

Merged
merged 3 commits into from
Feb 2, 2025

Conversation

LouisVelez
Copy link
Contributor

This PR improves the RouteList component by introducing infinite scrolling and a responsive grid layout. These changes enhance user experience, performance, and maintainability while reducing manual interactions.

Copy link

github-actions bot commented Dec 31, 2024

deployed preview: https://117.connect-d5y.pages.dev

Welcome to new-connect! Make sure to:

  • read the contributing guidelines
  • mark your PR as a draft until it's ready to review
  • post the preview on Discord; feedback from users will speedup the PR review

Mobile

Desktop

@LouisVelez LouisVelez marked this pull request as draft December 31, 2024 23:41
@LouisVelez
Copy link
Contributor Author

LouisVelez commented Jan 1, 2025

@adeebshihadeh I'm leaving this in draft since it was whipped up quickly as a POC. If this is of interest I can refactor the code, add test and set the PR to Ready.

@incognitojam
Copy link
Member

I like the look of this and it looks pretty simple too

@sshane
Copy link

sshane commented Jan 15, 2025

It only loads 6 routes on desktop, so it doesn't fill up the space, and you can't scroll to load more. Other than that, this is nice!

image

@incognitojam incognitojam added design enhancement New feature or request labels Jan 31, 2025
@incognitojam
Copy link
Member

I reverted the style changes (grid layout) because we might be removing the map from the RouteCard and a list would be better for showing all of the routes

@incognitojam incognitojam marked this pull request as ready for review February 2, 2025 14:41
@incognitojam incognitojam changed the title Implement infinite scrolling and responsive grid layout for RouteList feat(RouteList): implement infinite scrolling Feb 2, 2025
@incognitojam incognitojam merged commit cab5439 into commaai:master Feb 2, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants